<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="database.DAO,golf.ItemList"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
	request.setCharacterEncoding("utf-8");
	DAO dao = DAO.getInstance();
	int charNo = (Integer)session.getAttribute("charNo");
	String seqNo[] = request.getParameterValues("seqNo");
	if(seqNo!=null)
	{
		for(int i=0;i<seqNo.length;i++)
		{
			int j = Integer.parseInt(seqNo[i]);
			out.println(dao.repairItem(charNo,j));
			
		}
	}
	else
	{
		System.out.println("선택된 값이 없습니다");
	}
	
	
	//response.sendRedirect("../jsp/manageItem.jsp");
%>